package com.chx.dao;

import com.chx.entity.Perms;
import com.chx.entity.User;
import com.chx.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDAO {

    public User queryUserByUserName(String userName);

    void insertUser(User user);

    User queryRolesByUserName(String primaryPrincipal);

    List<Perms> queryPermsByRoleId(String roleid);
}
